package com.fzn.springboot.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: spring-boot
 * 描述：
 * @author: fzn
 * @create: 2022-03-07 21:01
 **/
@Slf4j
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String handle01(){
        log.info("请求进来了....");
        return "Hello, Spring Boot 2!";
    }
}